package com.guang;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 *
 * 百万级数据导出：https://blog.csdn.net/qq_43506040/article/details/138664081
 * @author lvyangxue
 * @date 2024-07-29
 */
@SpringBootApplication
@MapperScan("com.guang.mapper")
@EnableAspectJAutoProxy(exposeProxy = true)
@EnableTransactionManagement
@EnableScheduling
public class Application {

    public static void main(String[] args) {
        SpringApplication springApplication = new SpringApplication(Application.class);
        springApplication.setBannerMode(Banner.Mode.OFF);
        springApplication.run(args);
        System.out.println("系统启动完成");
    }
}
